package com.dayangxiaoen.pms.po;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author dayangxiaoen
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("product_details")
public class ProductDetail {

    //商品详情id
    @TableId(value = "p_details_id",type = IdType.ASSIGN_ID)
    private Long pDetailsId;

    //商品名称
    private String productName;

    //描述信息
    private String description;

    //富文本
    private String richText;

    //服务保障
    private String serviceGuarantee;

    //兑换限制
    private int exchangeRestrictions;

    //库存
    private int inStock;

    //剩余库存
    private int remainingStock;

    //展示时间
    private LocalDateTime showTime;

    //上线时间
    private LocalDateTime timeOn;

    //下线时间
    private LocalDateTime timeOff;

    //城市黑名单
    private String cityWhitelist;

    //城市白名单
    private String cityBlacklist;



}
